<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>无标题文档</title>

    <link href="${pageContext.request.contextPath}/css/sys.css" type="text/css" rel="stylesheet"/>
    <script type="text/javascript">
        function selectRefer() {

        }
    </script>
</head>

<body>
<table border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td class="topg"></td>
    </tr>
</table>

<table border="0" cellspacing="0" cellpadding="0" class="wukuang">
    <tr>
        <td width="1%"><img src="${pageContext.request.contextPath}/images/tleft.gif"/></td>
        <td width="33%" align="left">[咨询学生管理]</td>

        <td width="63%" align="right">
            <%--添加咨询 --%>
            <a class="butbg" href="${pageContext.request.contextPath}/addRefer">
                <img src="${pageContext.request.contextPath}/images/button/tianjia.gif"/>
            </a>
        </td>
        <td width="3%" align="right"><img src="${pageContext.request.contextPath}/images/tright.gif"/></td>
    </tr>
</table>

<!-- 查询条件：失去焦点马上查询 -->
<form action="" method="post">
    <table width="88%" border="0" style="margin: 20px;">
        <tr>
            <td width="80px">查询条件：</td>
            <td width="300px">
                <input type="text" name="condition" size="20" onblur=""/>
                （姓名|电话|QQ）
            </td>
            <td></td>
        </tr>
    </table>
</form>

<table border="0" cellspacing="0" cellpadding="0" style="margin-top:5px;">
    <tr>
        <td><img src="${pageContext.request.contextPath}/images/result.gif"/></td>
    </tr>
</table>

<table width="100%" border="1" >

<tr class="henglan" style="font-weight:bold;">
    <td width="80px" align="center">姓名</td>
    <td width="9%" align="center">电话</td>
    <td width="11%" align="center">QQ</td>
    <td width="15%" align="center">意向类别/班级</td>
    <td width="17%" align="center">状态</td>
    <td width="10%" align="center">营销人员</td>
    <td width="8%" align="center">查看</td>
    <%-- 根据状态不同显示操作项 --%>
    <td width="8%" align="center">编辑</td>
    <td width="8%" align="center">跟踪</td>
    <td width="8%" align="center">录入学籍</td>
</tr>
<tr class="tabtd1">
<c:forEach items="${refer}" var="item">
    <td align="center">${item.name}</td>
    <td align="center">${item.telephone}</td>
    <td align="center">${item.qq}</td>
    <td align="center">
    JavaEE/
    J161001期
    </td>
    <td align="center">
    咨询中
    </td>
</c:forEach>
    <td align="center">${admin}</td>

    <!-- 查看 -->
    <td width="8%" align="center">
    <a href="${pageContext.request.contextPath}/pages/refer/showRefer.jsp"><img src="${pageContext.request.contextPath}/images/button/view.gif" class="img"/></a>
    </td>


    <!-- 编辑 -->
    <td width="8%" align="center">
    <a href="${pageContext.request.contextPath}/pages/refer/editRefer.jsp"><img src="${pageContext.request.contextPath}/images/button/modify.gif" class="img"/></a>
    </td>

    <!-- 添加跟踪 -->
    <td width="8%" align="center">
    <a href="${pageContext.request.contextPath}/pages/follow/addOrEditFollow.jsp"><img src="${pageContext.request.contextPath}/images/button/new.gif" class="img"/></a>
    </td>

    <!-- 入学 -->
    <td width="8%" align="center">
    <a href="${pageContext.request.contextPath}/pages/refer/addStudent.jsp"><img src="${pageContext.request.contextPath}/images/button/modify.gif" class="img"/></a>
    </td>

    </tr>
    <tr class="tabtd2">
    <td align="center">李四</td>
    <td align="center">13523452345</td>
    <td align="center">234567</td>
    <td align="center">
    JavaEE/
    J161001期
    </td>
    <td align="center">
    咨询中
    </td>
    <td align="center">管理员</td>

    <td width="8%" align="center">
    <a href="${pageContext.request.contextPath}/refer/referAction_findById.action?referId=2c9091c14c79506c014c7981cf370000"><img src="${pageContext.request.contextPath}/images/button/view.gif" class="img"/></a>
    </td>


    <!-- 编辑 -->
    <td width="8%" align="center">
    <a href="${pageContext.request.contextPath}/refer/referAction_preEdit.action?referId=2c9091c14c79506c014c7981cf370000"><img src="${pageContext.request.contextPath}/images/button/modify.gif" class="img"/></a>
    </td>

    <!-- 添加跟踪 -->
    <td width="8%" align="center">
    <a href="${pageContext.request.contextPath}/follow/followAction_preAddOrEdit.action?crmRefer.referId=2c9091c14c79506c014c7981cf370000"><img src="${pageContext.request.contextPath}/images/button/new.gif" class="img"/></a>
    </td>

    <!-- 入学 -->
    <td width="8%" align="center">
    <a href="${pageContext.request.contextPath}/refer/referAction_preAddStudent.action?referId=2c9091c14c79506c014c7981cf370000"><img src="${pageContext.request.contextPath}/images/button/modify.gif" class="img"/></a>
    </td>

    </tr>

    </table>
    <table border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
    <td align="right">
    <span>第1/3页</span>
    <span>
    <a href="#">[首页]</a>&nbsp;&nbsp;
    <a href="#">[上一页]</a>&nbsp;&nbsp;
    <a href="#">[下一页]</a>&nbsp;&nbsp;
    <a href="#">[尾页]</a>
    </span>
    </td>
    </tr>
    </table>

    </body>
    </html>
